package com.youmu.shop.order.vo;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.youmu.shop.order.bean.OrderItemBean;

/**
 * 配送端订单
 * @author Administrator
 *
 */
public class DispatchingOrder {

	/**
	 * 订单主键
	 */
	private Long orderId;
	/**
	 * 配送方式主键
	 */
	private Long shippingMethodId;
	/**
	 * 会员主键
	 */
	private Long memberId;
	/**
	 * 收货人主键
	 */
	private Long receiverId;
	/**
	 * 收货人姓名
	 */
	private String receiverName;
	/**
	 * 收货人电话
	 */
	private String receiverPhone;
	/**
	 * 收货人地址
	 */
	private String receiverAreaName;
	/**
	 * 订单号
	 */
	private String orderSn;
	/**
	 * 订单状态
	 */
	private Integer orderStatus;
	/**
	 * 配送方式
	 */
	private String shippingMethodName;
	/**
	 * 第三方运单号
	 */
	private String orderSnOut;
	/**
	 * 配送时间
	 */
	private String sendTime;
	/**
	 * 订单备注
	 */
	private String intro;
	/**
	 *配送完成时间 
	 */
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	private Date workerReceivedTime;
	/**
	 * 配送接单时间
	 */
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	private Date workerConfirmedTime;
	
	public Date getWorkerConfirmedTime() {
		return workerConfirmedTime;
	}
	public void setWorkerConfirmedTime(Date workerConfirmedTime) {
		this.workerConfirmedTime = workerConfirmedTime;
	}
	public Date getWorkerReceivedTime() {
		return workerReceivedTime;
	}
	public void setWorkerReceivedTime(Date workerReceivedTime) {
		this.workerReceivedTime = workerReceivedTime;
	}
	public String getSendTime() {
		return sendTime;
	}
	public void setSendTime(String sendTime) {
		this.sendTime = sendTime;
	}
	public String getIntro() {
		return intro;
	}
	public void setIntro(String intro) {
		this.intro = intro;
	}
	private List<OrderItemBean> orderItems = new ArrayList<>();
	
	public List<OrderItemBean> getOrderItems() {
		return orderItems;
	}
	public void setOrderItems(List<OrderItemBean> orderItems) {
		this.orderItems = orderItems;
	}
	public Long getOrderId() {
		return orderId;
	}
	public void setOrderId(Long orderId) {
		this.orderId = orderId;
	}
	public Long getShippingMethodId() {
		return shippingMethodId;
	}
	public void setShippingMethodId(Long shippingMethodId) {
		this.shippingMethodId = shippingMethodId;
	}
	public Long getMemberId() {
		return memberId;
	}
	public void setMemberId(Long memberId) {
		this.memberId = memberId;
	}
	public Long getReceiverId() {
		return receiverId;
	}
	public void setReceiverId(Long receiverId) {
		this.receiverId = receiverId;
	}
	public String getReceiverName() {
		return receiverName;
	}
	public void setReceiverName(String receiverName) {
		this.receiverName = receiverName;
	}
	public String getReceiverPhone() {
		return receiverPhone;
	}
	public void setReceiverPhone(String receiverPhone) {
		this.receiverPhone = receiverPhone;
	}
	public String getReceiverAreaName() {
		return receiverAreaName;
	}
	public void setReceiverAreaName(String receiverAreaName) {
		this.receiverAreaName = receiverAreaName;
	}
	public String getOrderSn() {
		return orderSn;
	}
	public void setOrderSn(String orderSn) {
		this.orderSn = orderSn;
	}
	public String getShippingMethodName() {
		return shippingMethodName;
	}
	public void setShippingMethodName(String shippingMethodName) {
		this.shippingMethodName = shippingMethodName;
	}
	public String getOrderSnOut() {
		return orderSnOut;
	}
	public void setOrderSnOut(String orderSnOut) {
		this.orderSnOut = orderSnOut;
	}
	public Integer getOrderStatus() {
		return orderStatus;
	}
	public void setOrderStatus(Integer orderStatus) {
		this.orderStatus = orderStatus;
	}
	
}
